package cc.rengu.redp.bizimpl.upmp.dao;

import cc.rengu.redp.bizimpl.upmp.domain.BDeviceInfo;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lizk
 */
@Repository
@DS("upmp")
public interface BDeviceInfoMapper extends BaseMapper<BDeviceInfo> {

    List<BDeviceInfo> findSN(String instId);

    void updateTermSn(String instId, String sn, String mchntNo, String termNo, String orgCodes);

    void updateTermSnNoAdmin(String instId, String sn, String mchntNo, String termNo);

}
